#include "GMCreatedPlayer.h"
#include "GMCreatePlayer.h"
#include "GMPingConnection.h"
#include "GMReturnPing.h"
#include "GMSetVel.h"
#include "GMSyncTimer.h"
#include "GMWKeyDown.h"
#include "GMSKeyDown.h"
#include "GMAKeyDown.h"
#include "GMDKeyDown.h"
#include "GMClientAccepted.h"
#include "GMSetPosOnServer.h"
#include "GMSyncPos.h"
#include "GMClientDc.h"
#include "Factory.h"

#include <iostream>

GameMessage* CreateGMCreatedPlayer()
{
	std::cout << "Created GMCreatedPlayer()" << std::endl;
	return new GMCreatedPlayer();
}
static bool a = TheGameMessageFactory::Instance()->AddType("GMCreatedPlayer", CreateGMCreatedPlayer);

GameMessage* CreateGMCreatePlayer()
{
	std::cout << "Created GMCreatePlayer()" << std::endl;
	return new GMCreatePlayer();
}
static bool b = TheGameMessageFactory::Instance()->AddType("GMCreatePlayer", CreateGMCreatePlayer);

GameMessage* CreateGMPingConnection()
{
	std::cout << "Created GMPingConnection()" << std::endl;
	return new GMPingConnection();
}
static bool c = TheGameMessageFactory::Instance()->AddType("GMPingConnection", CreateGMPingConnection);

GameMessage* CreateGMSetVel()
{
	std::cout << "Created GMSetVel()" << std::endl;
	return new GMSetVel();
}
static bool d = TheGameMessageFactory::Instance()->AddType("GMSetVel", CreateGMSetVel);

GameMessage* CreateGMReturnPing()
{
	std::cout << "Created GMGMReturnPing()" << std::endl;
	return new GMReturnPing();
}
static bool e = TheGameMessageFactory::Instance()->AddType("GMReturnPing", CreateGMReturnPing);

GameMessage* CreateGMSyncTimer()
{
	std::cout << "Created GMSyncTimer()" << std::endl;
	return new GMSyncTimer();
}
static bool f = TheGameMessageFactory::Instance()->AddType("GMSyncTimer", CreateGMSyncTimer);

GameMessage* CreateGMClientAccepted()
{
	std::cout << "Created GMClientAccepted()" << std::endl;
	return new GMClientAccepted();
}
static bool g = TheGameMessageFactory::Instance()->AddType("GMClientAccepted", CreateGMClientAccepted);

GameMessage* CreateGMWKeyDown()
{
	std::cout << "Created GMWKeyDown()" << std::endl;
	return new GMWKeyDown();
}
static bool h = TheGameMessageFactory::Instance()->AddType("GMWKeyDown", CreateGMWKeyDown);

GameMessage* CreateGMSetPosOnServer()
{
	std::cout << "Created GMSetPosOnServer()" << std::endl;
	return new GMSetPosOnServer();
}
static bool i = TheGameMessageFactory::Instance()->AddType("GMSetPosOnServer", CreateGMSetPosOnServer);

GameMessage* CreateGMSyncPos()
{
	std::cout << "Created GMSyncPos()" << std::endl;
	return new GMSyncPos();
}
static bool j = TheGameMessageFactory::Instance()->AddType("GMSyncPos", CreateGMSyncPos);

GameMessage* CreateGMClientDc()
{
	std::cout << "Created GMClientDc()" << std::endl;
	return new GMClientDc();
}
static bool k = TheGameMessageFactory::Instance()->AddType("GMClientDc", CreateGMClientDc);

GameMessage* CreateGMSKeyDown()
{
	std::cout << "Created GMSKeyDown()" << std::endl;
	return new GMSKeyDown();
}
static bool l = TheGameMessageFactory::Instance()->AddType("GMSKeyDown", CreateGMSKeyDown);

GameMessage* CreateGMAKeyDown()
{
	std::cout << "Created GMAKeyDown()" << std::endl;
	return new GMAKeyDown();
}
static bool m = TheGameMessageFactory::Instance()->AddType("GMAKeyDown", CreateGMAKeyDown);

GameMessage* CreateGMDKeyDown()
{
	std::cout << "Created GMDKeyDown()" << std::endl;
	return new GMDKeyDown();
}
static bool n = TheGameMessageFactory::Instance()->AddType("GMDKeyDown", CreateGMDKeyDown);